import request from '@/utils/request'

export function listEnterprise(query) {
  return request({
    url: '/bid/enterprise/bidding/front/list',
    method: 'get',
    params: query
  })
}

export function getBidding(id) {
    return request({
        url: '/bid/bidding/front/'+id,
        method: 'get',
    })
}

export function getEnterprise(id) {
    return request({
        url: '/bid/enterprise/bidding/front/'+id,
        method: 'get',
    })
}

export function updateBidding(data) {
    return request({
        url: '/bid/enterprise/bidding/front/edit',
        method: 'post',
        data: data
    })
}